package com.smartfast4j.springboot.jdbc.demo.dao;

import com.smartfast4j.springboot.jdbc.demo.pojo.Account;

import java.util.List;

/**
 * Created by gacl on 2017/11/17.
 */
public interface AccountDao {

    int add(Account account);

    int update(Account account);

    int delete(int id);

    Account findAccountById(int id);

    List<Account> findAccountList();
}
